export const searchConfig = {
  confirmButton: {
    text: '搜索'
  },
  cancelButton: {
    text: '重置'
  },
  formConfig: {
    inline: true
  },
  formItems: [
    {
      prop: 'songName',
      label: '歌名'
    },
    {
      prop: 'description',
      label: '简介'
    }
  ]
}
export const tableConfig = {
  search: true,
  headerBtn: [
    {
      type: 'add',
      label: '新增'
      // svg:''
    }
  ],
  tableColumns: [
    {
      prop: 'songNo',
      label: 'ID'
    },
    {
      prop: 'songName',
      label: '歌名'
    },
    {
      prop: 'description',
      label: '简介'
    },
    {
      prop: 'collectNum',
      label: '收藏量'
    },
    {
      prop: 'edit',
      label: '操作',
      editType: true
    }
  ],
  editType: [
    {
      type: 'edit',
      label: '编辑'
    },
    {
      type: 'delete',
      label: '删除'
    },
    {
      type: 'preview',
      label: '查看'
    }
  ]
}
